home *** CD-ROM | disk | FTP | other *** search
/ 64'er / 64ER_CD.iso / 86xx / 8602.d64 / schreiberl. 801 (.txt) < prev    next >
Commodore BASIC  |  1995-03-30  |  8KB  |  210 lines

  1. 145 POKE53281,14:POKE 53280,14:POKE646,6
  2. 150 PRINTCHR$(147);"SCHREIBERLING SUCHT DATEN-BITTE WARTEN."
  3. 160 DIMA1$(72),A2$(72),A3$(72)
  4. 165 :FORI=1TO16:Q$=Q$+CHR$(128):NEXTI
  5. 170 :FORI=1TO23:O$=O$+CHR$(128):NEXTI
  6. 220 RESTORE
  7. 230 FORI=1TO72
  8. 240 FORJ=1TO3
  9. 245 : READ X
  10. 250 :IFX=-1THEN280
  11. 255 GOSUB3000
  12. 260 :IFJ=1THENA1$(I)=A1$(I)+CHR$(X)
  13. 265 :IFJ=2THENA2$(I)=A2$(I)+CHR$(X)
  14. 267 :IFJ=3THENA3$(I)=A3$(I)+CHR$(X)
  15. 270 :GOTO 245
  16. 280 NEXTJ
  17. 282 IF LEN(A3$(I))=0THEN A3$(I)=LEFT$(O$,LEN(A1$(I)))
  18. 285 NEXT I
  19. 320 PRINTCHR$(147);CHR$(14);CHR$(18);".....EINE.ZEILE.EINGEBEN:.............";
  20. 325 PRINTCHR$(146)
  21. 330 GETT$:PRINTT$;
  22. 340 IFT$=CHR$(13)THEN410
  23. 350 GOTO330
  24. 410 OPEN1,4
  25. 411 Y=50:P=0
  26. 417 PRINT#1,CHR$(8)
  27. 418 FORJ=1TO3
  28. 419 AZ=0
  29. 422 :FORI=1064+PTO1064+Y
  30. 425 :W=PEEK(I)
  31. 430 :IFW=32ORW=96THEN AX$=Q$:GOSUB932
  32. 440 :IFW=63THENF=-17:GOSUB910
  33. 450 :IFW=40ORW=41THENF=4:GOSUB910
  34. 460 :IFW=33THENF=10:GOSUB910
  35. 470 :IFW>64ANDW<91THENF=-64:GOSUB910
  36. 475 :IFW>0 ANDW<27THENF=46:GOSUB910
  37. 480 :IFW>43ANDW<60THENF=-17:GOSUB910
  38. 550 :NEXTI:IFJ<3THENPRINT#1
  39. 560 NEXTJ
  40. 670 PRINT#1:CLOSE1:GOTO320
  41. 910 IFJ=1THEN AX$ =A1$(W+F)
  42. 920 IFJ=2THEN AX$ =A2$(W+F)
  43. 930 IFJ=3THEN AX$ =A3$(W+F)
  44. 932 AZ=AZ+LEN(AX$)
  45. 933 IF AZ>450 THEN I=1064+Y:GOTO 940
  46. 935 PRINT#1,AX$;
  47. 940 RETURN
  48. 1010 DATA0,32,65,198,200,240,252,127,31,1,0,0,0,0,0,0,-1
  49. 1020 DATA0,62,255,3,3,2,4,200,248,254,31,3,1,2,4,0,-1,-1
  50. 1030 DATA0,128,255,255,255,131,131,131,131,131,131,68,124,56,0,-1
  51. 1040 DATA0,1,255,255,255,1,1,1,1,1,1,130,254,124,0,-1,-1
  52. 1050 DATA0,7,31,63,112,192,128,128,128,128,128,128,64,120,56,0,-1
  53. 1060 DATA0,224,248,252,14,3,1,1,1,1,1,1,2,30,28,0,-1,-1
  54. 1070 DATA0,128,255,255,255,128,128,128,128,128,64,112,63,31,15,0,-1
  55. 1080 DATA0,1,255,255,255,1,1,1,1,1,2,14,252,248,240,0,-1,-1
  56. 1090 DATA0,7,31,63,114,194,130,130,131,131,131,131,66,112,48,0,-1
  57. 1100 DATA0,224,248,252,14,3,1,1,1,1,129,1,2,14,12,0,-1,-1
  58. 1110 DATA0,128,255,255,255,66,66,130,130,131,131,131,131,98,96,0,-1
  59. 1120 DATA0,0,255,255,255,0,0,0,0,0,0,128,0,0,0,0,-1
  60. 1130 DATA4,8,248,240,192,0,0,0,0,0,0,0,0,0,0,0,-1
  61. 1140 DATA0,7,15,63,112,192,128,128,128,128,194,99,99,3,2,0,-1
  62. 1150 DATA0,248,252,254,7,3,1,1,2,4,8,255,255,255,0,0,-1
  63. 1160 DATA0,0,0,0,0,0,0,0,0,4,8,248,240,192,0,0,-1
  64. 1170 DATA0,128,255,255,255,2,4,8,8,16,16,24,31,15,3,0,-1
  65. 1180 DATA0,0,255,255,255,0,0,0,0,0,3,15,255,249,225,0,-1,-1
  66. 1190 DATA0,128,255,255,255,0,0,-1
  67. 1200 DATA0,0,255,255,255,1,0,-1,-1
  68. 1210 DATA0,0,128,255,255,255,0,-1
  69. 1220 DATA0,0,0,255,255,255,0,-1
  70. 1230 DATA0,4,8,248,240,192,0,-1
  71. 1240 DATA0,128,255,255,255,3,3,6,4,12,56,240,224,0,0,0,-1
  72. 1250 DATA0,1,255,255,255,0,192,240,124,30,3,1,1,1,6,0,-1,-1
  73. 1260 DATA0,128,255,255,255,0,0,0,0,0,0,0,0,0,0,0,-1
  74. 1270 DATA0,1,255,255,255,1,1,1,1,1,1,1,1,3,7,0,-1,-1
  75. 1280 DATA0,7,31,56,96,192,128,128,128,128,127,63,127,128,128,128,128
  76. 1290 DATA192,96,56,31,7,0,-1
  77. 1300 DATA0,192,248,62,7,1,1,0,0,0,255,255,255,0,0,0,1,1,7,62,248,192,0,-1,-1
  78. 1310 DATA0,128,255,255,255,63,3,0,0,0,0,128,255,255,0,0,-1
  79. 1320 DATA0,0,255,255,255,0,224,240,56,12,6,2,255,255,1,0,-1
  80. 1330 DATA4,8,248,240,192,0,0,0,0,0,0,0,0,0,0,0,-1
  81. 1340 DATA0,7,31,63,96,64,128,128,128,128,64,96,63,31,7,0,-1
  82. 1350 DATA0,224,248,252,6,2,1,1,1,1,2,6,252,248,224,0,-1,-1
  83. 1360 DATA0,128,255,255,255,48,112,192,128,128,128,192,96,63,31,0,-1
  84. 1370 DATA0,0,255,255,255,12,14,3,1,1,1,3,6,252,248,0,-1
  85. 1380 DATA0,0,252,252,252,4,0,0,0,0,0,0,0,0,0,0,-1
  86. 1390 DATA0,15,63,127,192,128,128,128,128,128,64,96,63,63,63,64,0,-1
  87. 1400 DATA0,240,252,254,3,1,1,1,1,1,14,12,255,255,255,0,0,-1
  88. 1410 DATA0,0,0,0,0,0,0,0,0,0,0,4,252,248,248,0,0,-1
  89. 1420 DATA0,128,255,255,255,129,129,129,129,129,195,126,60,0,0,0,-1
  90. 1430 DATA0,1,255,255,255,0,128,192,96,56,30,7,3,3,2,0,-1,-1
  91. 1440 DATA0,30,63,127,199,131,131,131,131,131,131,131,195,113,48,0,-1
  92. 1450 DATA0,28,30,3,129,129,129,129,129,129,131,199,254,252,248,0,-1,-1
  93. 1460 DATA0,32,96,192,128,128,255,255,255,128,128,128,128,128,0,-1
  94. 1470 DATA0,0,0,0,0,0,255,255,255,1,0,0,0,0,0,-1,-1
  95. 1480 DATA0,7,159,255,128,128,0,0,0,0,128,255,255,255,0,0,-1
  96. 1490 DATA0,248,252,254,1,1,1,1,2,4,8,255,255,255,1,0,-1,-1
  97. 1500 DATA0,96,192,224,252,127,31,3,0,0,0,0,7,216,224,0,-1
  98. 1510 DATA0,0,0,0,0,0,224,248,255,15,48,192,0,0,0,0,-1,-1
  99. 1520 DATA0,3,15,191,192,128,0,0,3,15,191,192,128,0,0,0,0,128,255,255
  100. 1530 DATA255,0,0,-1
  101. 1540 DATA0,248,254,254,3,1,1,1,250,254,254,3,1,1,1,2,2,4,255,255,255,1,0,-1,-1
  102. 1550 DATA0,32,64,192,240,252,63,15,3,4,8,16,224,192,0,0,-1
  103. 1560 DATA0,7,11,16,32,64,128,192,240,252,62,15,3,1,6,0,-1,-1
  104. 1570 DATA0,96,192,224,252,127,31,3,0,0,0,0,7,216,224,0,-1
  105. 1580 DATA0,0,0,0,0,0,224,248,255,14,48,192,0,0,0,0,-1
  106. 1590 DATA0,0,0,0,12,28,24,96,128,0,0,0,0,0,0,0,-1
  107. 1600 DATA0,128,192,192,224,128,128,129,131,143,158,188,240,224,192,0,-1
  108. 1610 DATA0,3,7,15,29,121,241,225,129,1,1,7,3,3,1,0,-1,-1
  109. 1614 DATA0,0,0,0,0,-1,0,0,3,3,0,-1,0,48,192,0,0,-1
  110. 1615 DATA0,0,1,1,1,1,1,1,1,1,1,1,0,0,-1
  111. 1616 DATA0,0,128,128,128,128,128,128,128,128,128,128,0,0,-1,-1
  112. 1617 DATA0,0,0,0,0,0,-1,0,0,3,3,0,0,-1,-1
  113. 1618 DATA0,0,0,0,0,0,3,12,48,192,0,0,-1
  114. 1619 DATA0,0,3,12,48,192,0,0,0,0,0,0,-1,-1
  115. 1620 DATA0,0,3,12,16,32,32,32,48,56,15,0,-1
  116. 1630 DATA0,240,252,14,3,1,1,1,2,12,240,0,0,-1,-1
  117. 1640 DATA0,16,31,63,63,0,0,-1
  118. 1650 DATA0,0,255,255,254,2,0,-1,-1
  119. 1660 DATA0,8,16,32,32,32,48,31,15,0,0,0,0,0,-1
  120. 1670 DATA0,1,3,7,15,29,249,225,193,1,1,3,2,0,-1
  121. 1680 DATA0,0,0,128,128,128,128,128,128,128,0,0,0,0,-1
  122. 1690 DATA0,16,32,33,51,62,28,0,0,-1
  123. 1700 DATA0,64,128,128,128,255,254,56,0,-1
  124. 1710 DATA0,16,32,64,128,128,0,0,0,-1
  125. 1720 DATA0,0,0,0,1,2,4,15,31,63,0,0,0,0,-1
  126. 1730 DATA0,32,96,160,32,32,32,255,255,254,32,32,32,0,-1,-1
  127. 1740 DATA0,1,7,59,51,19,19,19,17,16,0,-1
  128. 1750 DATA0,128,0,0,0,0,131,252,240,0,0,-1
  129. 1760 DATA0,8,16,32,64,128,0,0,0,0,0,-1
  130. 1770 DATA0,3,15,18,36,68,76,140,12,7,3,0,-1
  131. 1780 DATA0,248,254,7,1,1,1,1,1,6,248,0,-1,-1
  132. 1790 DATA0,48,48,24,24,24,17,22,56,32,0,-1
  133. 1800 DATA0,0,1,15,30,112,128,0,0,0,0,-1
  134. 1810 DATA0,48,240,192,0,0,0,0,0,0,0,-1
  135. 1820 DATA0,0,121,135,131,131,133,121,0,0,-1
  136. 1830 DATA0,124,194,129,1,1,129,226,124,0,-1,-1
  137. 1840 DATA0,0,3,4,4,8,8,12,6,7,1,0,-1
  138. 1850 DATA0,248,252,6,3,1,1,2,2,229,254,0,-1
  139. 1860 DATA0,0,0,0,0,8,16,32,64,128,0,0,-1
  140. 1870 DATA0,0,3,3,0,0,-1,0,0,3,3,0,0,-1,-1
  141. 1880 DATA0,0,0,0,0,0,-1,0,0,51,51,0,0,-1,0,48,192,0,0,0,-1
  142. 1910 DATA0,0,127,255,254,0,0,-1,0,0,243,243,0,0,0,-1,-1
  143. 1920 DATA0,31,63,64,128,0,-1,0,248,252,2,1,0,-1,-1
  144. 1930 DATA0,128,64,63,31,0,-1,0,1,2,252,248,0,-1,-1
  145. 1940 DATA0,48,112,192,129,135,252,120,0,-1
  146. 1950 DATA0,0,0,115,243,0,0,0,0,-1,-1
  147. 1960 DATA0,0,1,3,2,2,2,1,0,1,3,2,0,0,-1
  148. 1970 DATA0,252,254,3,1,1,1,1,130,254,255,1,2,0,-1,-1
  149. 1980 DATA0,64,255,255,0,1,2,2,2,2,1,1,0,-1
  150. 1990 DATA0,0,252,254,193,193,1,1,1,2,254,252,0,-1,-1
  151. 2000 DATA0,0,1,3,2,2,2,2,1,1,0,-1,0,252,254,3,1,1,1,1,2,4,0,-1,-1
  152. 2010 DATA0,0,0,1,2,2,2,1,128,255,255,0,0,0,-1
  153. 2020 DATA0,124,254,3,1,1,1,2,132,254,255,1,2,0,-1,-1
  154. 2030 DATA0,0,1,3,2,2,2,2,1,0,0,-1
  155. 2040 DATA0,252,254,35,33,33,33,33,161,98,0,-1,-1
  156. 2050 DATA0,15,63,114,130,131,131,128,96,32,0,-1
  157. 2060 DATA0,255,255,0,0,0,0,0,0,0,0,-1,0,252,252,4,0,0,0,0,0,0,0,-1
  158. 2070 DATA0,0,0,1,2,2,2,1,1,1,1,1,0,-1
  159. 2080 DATA0,124,254,131,1,1,1,130,132,191,127,128,0,-1
  160. 2090 DATA0,56,52,4,4,4,4,8,16,240,224,0,0,-1
  161. 2100 DATA0,128,255,255,1,2,2,2,1,1,0,0,0,0,-1
  162. 2110 DATA0,0,255,255,0,0,0,0,0,254,255,1,2,0,-1,-1
  163. 2120 DATA0,2,51,51,0,0,0,-1,0,0,254,255,1,2,0,-1,-1
  164. 2130 DATA0,2,51,51,0,-1,0,0,255,255,0,-1,4,8,240,224,0,-1
  165. 2140 DATA0,128,255,255,0,0,0,3,3,0,0,0,-1
  166. 2150 DATA0,0,255,255,32,88,76,134,3,1,2,0,-1,-1
  167. 2160 DATA0,128,255,255,0,0,0,-1,0,0,254,255,1,2,0,-1,-1
  168. 2170 DATA0,1,2,3,1,1,2,3,1,1,2,3,1,0,0,0,-1
  169. 2180 DATA0,0,0,255,255,0,0,255,255,0,0,254,255,1,2,0,-1,-1
  170. 2190 DATA0,1,2,3,1,1,2,3,1,0,0,0,-1
  171. 2200 DATA0,0,0,255,255,0,0,254,255,1,2,0,-1,-1
  172. 2210 DATA0,0,1,1,2,2,2,2,3,1,0,0,-1
  173. 2220 DATA0,252,254,3,1,1,1,1,1,254,252,0,-1,-1
  174. 2230 DATA0,1,2,3,1,0,1,2,2,2,3,1,0,0,-1
  175. 2240 DATA0,0,0,255,255,132,2,1,1,1,3,254,252,0,-1
  176. 2250 DATA0,0,0,252,252,4,0,0,0,0,0,0,0,0,-1
  177. 2260 DATA0,0,0,1,2,2,2,1,1,1,1,1,0,-1
  178. 2270 DATA0,124,254,131,1,1,1,130,132,191,127,128,0,-1
  179. 2280 DATA0,0,0,0,0,0,0,0,0,252,252,4,0,-1
  180. 2290 DATA0,1,2,3,1,2,3,1,1,0,-1,0,0,0,255,255,0,0,128,0,0,-1,-1
  181. 2300 DATA0,0,1,3,2,2,2,2,3,1,0,0,-1
  182. 2310 DATA0,198,247,49,49,49,49,49,179,159,12,0,-1,-1
  183. 2320 DATA0,4,12,255,255,4,4,4,0,-1
  184. 2330 DATA0,0,0,254,255,1,2,0,0,-1,-1
  185. 2340 DATA0,2,3,3,0,0,0,2,3,3,0,0,0,-1
  186. 2350 DATA0,0,254,255,1,1,1,2,254,255,1,2,0,-1,-1
  187. 2360 DATA0,1,2,3,3,1,0,0,0,0,0,3,3,0,-1
  188. 2370 DATA0,0,0,0,128,224,120,30,7,12,48,192,0,0,-1,-1
  189. 2380 DATA0,2,3,3,0,0,3,3,0,0,3,3,0,-1
  190. 2390 DATA0,0,254,255,1,2,254,255,1,2,254,252,0,-1,-1
  191. 2400 DATA0,2,3,3,2,0,0,0,0,3,2,0,0,-1
  192. 2410 DATA0,1,3,132,232,112,56,92,134,3,1,2,0,-1,-1
  193. 2420 DATA0,1,2,3,3,1,0,0,0,0,0,3,3,0,-1
  194. 2430 DATA0,0,0,0,128,224,120,30,7,12,48,192,0,0,-1
  195. 2440 DATA0,0,0,24,28,12,48,192,0,0,0,0,0,0,-1
  196. 2450 DATA0,3,3,2,2,2,2,2,3,3,2,0,-1
  197. 2460 DATA0,1,3,7,13,57,113,193,129,3,3,0,-1,-1
  198. 3000 B2=0
  199. 3010 B1=X
  200. 3050 IF B1-128>-1THENB1=B1-128:B2=B2+1
  201. 3060 IF B1-64>-1THENB1=B1-64:B2=B2+2
  202. 3070 IF B1-32>-1THENB1=B1-32:B2=B2+4
  203. 3080 IF B1-16>-1THENB1=B1-16:B2=B2+8
  204. 3090 IF B1-8>-1THENB1=B1-8:B2=B2+16
  205. 3100 IF B1-4>-1THENB1=B1-4:B2=B2+32
  206. 3110 IF B1=1ORB1=>2THEN B2=B2+64
  207. 3120 B2=B2+128
  208. 3130 X=B2
  209. 3140 RETURN
  210.